//
//  PayOrderCostTableViewCell.m
//  Youhuiju
//
//  Created by 余尚飞 on 16/8/12.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "PayOrderCostTableViewCell.h"

@interface PayOrderCostTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *allCostLabel;


@end

@implementation PayOrderCostTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setAllCost:(NSInteger)allCost
{
    if (_allCost != allCost)
    {
        _allCost = allCost;
        
        self.allCostLabel.text = [NSString stringWithFormat:@"¥ %zd.00",_allCost];
    }
}

@end
